﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Shapes;

namespace SketlonBackOffice
{
    [Serializable]
    public class SketlonFrame
    {
        public List<Bone> Bones { get; set; }
        public int RepeatIndex { get; set; }
        public int RepeatCount { get; set; }
    }
    [Serializable]
    public class Bone
    {
        public double Degree { get; set; }
        public double X1 { get; set; }
        public double X2 { get; set; }
        public double Y1 { get; set; }
        public double Y2 { get; set; }
        public Bone(double degree, Line line)
        {
            Degree = degree;
            X1 = line.X1; ;
            X2 = line.X2;
            Y1 = line.Y1;
            Y2 = line.Y2;
        }
        public Bone()
        { }
    }
}
